<%--
 @Author:princess
 @Date 2023/12/4 12 04 19:11
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<html>
<head>
    <title>login</title>
</head>
<body>
    <div>
        <spring:message code="txt.welcome"></spring:message>
    </div>
    <form action="userLogin" method="post">
        <spring:message code="txt.username"></spring:message>：<input type="text" name="username"><br>
        <spring:message code="txt.password"></spring:message>：<input type="password" name="password"><br>
        <input type="submit" value="<spring:message code="txt.login"></spring:message>">
    </form>

    ${msg}
    <br>

    <a href="login?locale=zh_CN">中文</a>
    <a href="login?locale=en_US">English</a>
    <a href="register">注册</a>
</body>
</html>